@if (hasSedSupport()) {
<mat-card class="card">
  <mat-card-header>
    <h3 mat-card-title>{{ 'Hardware Disk Encryption' | translate }}</h3>
  </mat-card-header>

  <mat-card-content>
    <div class="details-item">
      <div class="label">{{ 'SED Password' | translate }}:</div>
      <div class="value">
        {{ hasDiskEncryption()
          ? ('Password is set' | translate)
          : ('Password is not set' | translate)
        }}
      </div>

      <a
        *ixHasRole="requiredRoles"
        ixTest="manage-sed-password"
        (click)="onManageSedPassword()"
      >
        {{ 'Manage SED Password' | translate }}
      </a>
    </div>

    <div class="details-item">
      <div class="label">{{ 'Global SED Password' | translate }}:</div>
        <div class="value">
          {{ hasGlobalEncryption()
            ? ('Password is set' | translate)
            : ('Password is not set' | translate)
          }}
        </div>

        <a
          *ixHasRole="requiredRoles"
          ixTest="manage-global-sed-password"
          [routerLink]="['/system/advanced']"
        >
          {{ 'Manage Global SED Password' | translate }}
        </a>
    </div>
  </mat-card-content>
</mat-card>
}
